import { get, post } from "@/utils/request";

export const addLikeApi = async data => {
  let ret = await post(`/api/addLike`, data);
  return ret.data
};


export const getLikeApi = async () => {
  let ret = await get(`/api/getLike`);
  return ret.data;
};

export const delLikeApi = async data => {
  let ret = await post(`/api/delLike`,data);
  return ret.data;
};

